﻿@(
 Html.Kendo().DropDownList()
            .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(""))
                 //.BindTo((SelectList)ViewData[ViewData.TemplateInfo.GetFullHtmlFieldName("") + "_Data"])
            .BindTo((List<Category>)ViewData["categories"]).DataValueField("CategoryId").DataTextField("CategoryName")
)
